﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ServiceWorkLog.aspx.cs" Inherits="CRM.ServiceWorkLog" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="Web_CSS/WebCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="JavaScript/Jquery.js"></script>
    <script type="text/javascript" src="JavaScript/ManageWeb.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
        <div class="Body_Title">
            内容管理 》》工作记录信息</div>
            <div>
        业务人员：<asp:DropDownList ID="DDlService" runat="server" AppendDataBoundItems="True">
                    <asp:ListItem Value="-1" Selected="True">所有</asp:ListItem>
                </asp:DropDownList><asp:Button ID="BtnSearchMes" runat="server" Text="查询信息" 
                        OnClick="PagerUserService_PageChanged"/>
        </div>
        <asp:Repeater ID="RpUserService" runat="server">
            <HeaderTemplate>
                <table cellpadding="3" cellspacing="1" class="Admin_Table">
                    <thead>
                        <tr class="Admin_Table_Title">
                            <th style="width: 10%;">
                                跟进状态
                            </th>
                            <th style="width: 15%;">
                                业务人员
                            </th>
                            <th style="width: 20%;">
                                客户名
                            </th>
                            <th style="width: 40%;">
                                企业名称
                            </th>
                            <th style="width: 15%;">
                                最后更新
                            </th>
                        </tr>
                    </thead>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="TIP"  myTitle="" title='<%#Eval("T_BusinessLogNote") %>'>
                    <td>
                        <%#CRM.BaseClass.Common.WorkState(Eval("T_SLogState"))%>
                    </td>
                    <td>
                        <%#Eval("T_ServiceName")%>
                    </td>
                    <td>
                        <%#Eval("T_Person")%>
                    </td>
                    <td>
                        <%#Eval("T_CompanyName")%>
                    </td>
                    <td>
                        <%#Eval("T_DateTime","{0:yyyy-MM-dd HH:mm}")%>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table></FooterTemplate>
        </asp:Repeater>
        <div class="BottomPage">
        <webdiyer:AspNetPager ID="PagerUserWork" runat="server" AlwaysShow="True" CustomInfoHTML="共[%RecordCount%]条，[%CurrentPageIndex%] / [%PageCount%]页"
            FirstPageText="[ 首页 ]" LastPageText="[ 末页 ]" NextPageText="[ 下一页 ]" NumericButtonCount="15"
            PageSize="20" PrevPageText="[ 上一页 ]" CustomInfoTextAlign="Left" ShowCustomInfoSection="Left"
            Direction="LeftToRight" Width="100%" InvalidPageIndexErrorMessage="你确定你输入的是数字？！"
            PageIndexOutOfRangeErrorMessage="没这么多页o(∩_∩)o 哈哈.." SubmitButtonText="转到" CssClass="pageStyle"
            HorizontalAlign="Right" OnPageChanged="PagerUserService_PageChanged" CustomInfoSectionWidth="20%">
          </webdiyer:AspNetPager>
        </div>
    </div>
    </form>
</body>
</html>
